<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8" />
  <title>账单详情</title>
  <meta name="keywords" content="">
  <meta name="description" content="">
  <meta name="viewport" content="width=device-width,minimum-scale=0.5,maximum-scale=1.0,initial-scale=1.0,user-scalable=no"/>
  <link rel="stylesheet" type="text/css" href="/static/css/main.css"/>
  <link rel="stylesheet" href="/static/css/fail.css?v=1.0.1">
  <script src="/static/js/jquery-2.2.3.min.js"></script>
  <script src="/static/js/pxtorem.js"></script>
	<script src="https://a.alipayobjects.com/g/h5-lib/alipayjsapi/3.0.6/alipayjsapi.min.js"></script>
  <script src="/static/js/adress.js" type="text/javascript" charset="utf-8"></script>
</head>
<body>
	<section class="pay_fail">
	  <!--<div class="head">
	  	<div class="head-title">
	  		<div class="head-img">
	  			<img src="../images/编组.png"/>	
	  		</div>
	    	<p>账单详情</p>
	  	</div>
	  </div>-->
	  <div class="content">
	  	<div class="pay_img content_cen">
		  	<img src="/static/img/icon_fail.png"/>
		  </div>
		  <div class="title content_cen">
		  	支付失败
		  </div>
		  <div class="solid"></div>
	  </div>
	  <p class="message">{{.err_msg}}</p>
	</section>
	<div class="btn">
		<button>关闭</button>
  </div>
	<script type="text/javascript">
		function ready(callback) {
			// 如果jsbridge已经注入则直接调用
			if (window.AlipayJSBridge) {
				callback && callback();
			} else {
				// 如果没有注入则监听注入的事件
				document.addEventListener('AlipayJSBridgeReady', callback, false);
			}
		}
		ready(function() {
			document.querySelector('.btn').addEventListener('click', function() {
				AlipayJSBridge.call('exitApp');
			});
		});
	</script>
</body>
</html>
